﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head><link rel="stylesheet" href="${ctx}/common/common.css">
    <link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/style/admin.css" media="all">
    <script src="${ctx}/common/plugins/layuiadmin/layui/layui.js"></script>
    
<style>
.layui-table-header {
	width: 100%;
}

.layui-products {
	border-bottom: 2px solid #e7e7e7;
	/*border-top: 2px solid #e7e7e7;*/
	margin: 10px 0px;
	padding: 5px 0px;
}

.layui-products_li {
	margin-left: 50px;
	border-bottom: 1px dashed #e7e7e7;
}

.layui-products_li:first-child {
	border: none;
}

.layui-col-md4 img {
	margin-right: 5px;
	width: 22px;
	height: 22px;
}

.layui-col-md4 img {
	margin-right: 5px;
	width: 22px;
	height: 22px;
}
</style>
</head>
<body>
<!--主体内容层-->
<div class="layui-fluid">
    <div class="layui-row">
        <div class="layui-col-xs12">
            <!--通用table表格-->
            <table class="layui-table" >
            	<c:if test="${not empty  map}">
            	 <tr> <td>原料 :${map.rawClassify}</td></tr>
                 <tr> <td>添加剂: ${map.additiveClassify}</td></tr>
                 <tr> <td>辅料: ${map.accessoriesClassify}</td>  </tr>
              	 <tr> <td>包材: ${map.packagingClassify}</td>  </tr>
            	</c:if>
               <c:if test="${ empty  map}">
               	 <tr> <td> 没有相关物料</td></tr>
               </c:if>
              
            </table>
        </div>
    </div>
</div>
 <script type="text/javascript">
 	/* var obj=JSON.parse(window.parent.document.getElementById("viewpProduct").value);
 	document.getElementById("rawClassify").innerHTML="原料 :"+obj.rawClassify;
 	document.getElementById("additiveClassify").innerHTML="添加剂 :"+obj.additiveClassify;
 	document.getElementById("accessoriesClassify").innerHTML="辅料 :"+obj.accessoriesClassify;
 	document.getElementById("packagingClassify").innerHTML="包材 :"+obj.packagingClassify; */
 	 
 </script>
</body>
</html>





